MultipleAuthors\Classes\Installer S

Total Complexity 48
Dependencies 7
Dependents 2
Total lines 422
Lines of code 288
Logical lines of code 118
Comment lines 56
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
createAuthorTermsForPostsWithLegacyCoreAuthors()
A
42 10 59
runUpgradeTasks()
A
51 8 27
createAuthorTermsForLegacyCoreAuthors()
S
50 6 32
getPostsWithoutAuthorTerms()
S
44 4 47
getUsersAuthorsWithNoAuthorTerm()
S
46 3 44
updateUrlProfileField()
S
54 3 22
runInstallTasks()
S
60 3 14
addEditPostAuthorsCapabilitiesToRoles()
S
60 3 14
flushRewriteRules()
S
72 2 6
createDefaultAuthorBoxes()
S
81 1 3
addDefaultCapabilitiesForAdministrators()
S
71 1 6
addManageLayoutsCapabilitiesToRoles()
S
75 1 4
addManageFieldsCapabilitiesToRoles()
S
75 1 4
createDefaultCustomFields()
S
81 1 3
updateAuthorBoxesFieldValue()
S
80 1 3